package entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.Map;

/**
 * @ClassName VoiceMesssage
 * @Author 浮生光
 * @Date 2022/1/16 23:34
 * @Description VoiceMesssage
 * @Version 1.0
 */
@XStreamAlias("xml")
public class VoiceMesssage extends BaseMessage {

    private String mediaId;

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public VoiceMesssage(Map<String, String> requestMap) {
        super(requestMap);
        this.setMsgType("voice");
        this.mediaId = getMediaId();

    }
}
